Skip to content

SPLAT-2253: CCM-AWS config enforce to provision Service NLB with SG under gate#391

Merged
openshift-merge-bot[bot] merged 2 commits intoopenshift:mainfrom
mtulio:SPLAT-2253
Nov 15, 2025
Merged

SPLAT-2253: CCM-AWS config enforce to provision Service NLB with SG under gate#391
openshift-merge-bot[bot] merged 2 commits intoopenshift:mainfrom
mtulio:SPLAT-2253

Conversation

@mtulio
Copy link
Copy Markdown
Contributor

@mtulio mtulio commented Jun 2, 2025

Updating the k/cloud-provider-aws to gather the feature of Service type-loadBalancer NLB with managed Security Group through cloud-config under the OpenShift feature set TechPreviewNoUpgrade.

Upstream feature:

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 2, 2025
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Jun 2, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@mtulio mtulio changed the title tmp/DNM: validating NLB+SG config DNM/SPLAT-2253: tmp validation of NLB+SG setup Jun 2, 2025
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jun 2, 2025
@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented Jun 2, 2025

@mtulio: This pull request references SPLAT-2253 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.20.0" version, but no target version was set.

Details

In response to this:

Bumping cloud-provider-aws are crashing, focusing in the change for now to be able to validate with cluster-bot.

this PR is created to be used with cluster-bot:

Ref: openshift/cloud-provider-aws#108

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@mtulio
Copy link
Copy Markdown
Contributor Author

mtulio commented Jul 24, 2025

/test all

@mtulio mtulio changed the title DNM/SPLAT-2253: tmp validation of NLB+SG setup DNM/SPLAT-2253: CCM-AWS config enforce to provision Service NLB with SG under gate Jul 24, 2025
@mtulio
Copy link
Copy Markdown
Contributor Author

mtulio commented Sep 10, 2025

PR rebased with upstream updates, and CCCMO FG support by #400

@mtulio
Copy link
Copy Markdown
Contributor Author

mtulio commented Sep 10, 2025

Next step: create a CI job to exercise this scenario.

@mtulio
Copy link
Copy Markdown
Contributor Author

mtulio commented Sep 10, 2025

/test ?

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Sep 10, 2025

@mtulio: The following commands are available to trigger required jobs:

/test e2e-aws-ovn
/test e2e-aws-ovn-upgrade
/test fmt
/test images
/test lint
/test okd-scos-images
/test security
/test unit
/test vendor
/test verify-deps
/test vet

The following commands are available to trigger optional jobs:

/test e2e-azure-manual-oidc
/test e2e-azure-ovn
/test e2e-azure-ovn-upgrade
/test e2e-gcp-ovn
/test e2e-gcp-ovn-upgrade
/test e2e-ibmcloud-ovn
/test e2e-nutanix-ovn
/test e2e-openstack-ovn
/test e2e-vsphere-ovn
/test level0-clusterinfra-azure-ipi-proxy-tests
/test okd-scos-e2e-aws-ovn
/test regression-clusterinfra-vsphere-ipi-ccm

Use /test all to run the following jobs that were automatically triggered:

pull-ci-openshift-cluster-cloud-controller-manager-operator-main-e2e-aws-ovn
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-e2e-aws-ovn-upgrade
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-e2e-azure-ovn
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-e2e-azure-ovn-upgrade
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-e2e-gcp-ovn
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-e2e-gcp-ovn-upgrade
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-e2e-openstack-ovn
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-e2e-vsphere-ovn
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-fmt
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-images
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-level0-clusterinfra-azure-ipi-proxy-tests
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-lint
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-okd-scos-e2e-aws-ovn
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-okd-scos-images
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-regression-clusterinfra-vsphere-ipi-ccm
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-security
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-unit
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-vendor
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-verify-deps
pull-ci-openshift-cluster-cloud-controller-manager-operator-main-vet
Details

In response to this:

/test ?

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented Sep 11, 2025

@mtulio: This pull request references SPLAT-2253 which is a valid jira issue.

Details

In response to this:

Bumping cloud-provider-aws are crashing, focusing in the change for now to be able to validate with cluster-bot.

this PR is created to be used with cluster-bot:

Ref: openshift/cloud-provider-aws#117

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@mtulio mtulio changed the title DNM/SPLAT-2253: CCM-AWS config enforce to provision Service NLB with SG under gate SPLAT-2253/WIP: CCM-AWS config enforce to provision Service NLB with SG under gate Sep 17, 2025
@openshift-ci-robot openshift-ci-robot removed the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Sep 17, 2025
@openshift-ci-robot
Copy link
Copy Markdown

@mtulio: No Jira issue is referenced in the title of this pull request.
To reference a jira issue, add 'XYZ-NNN:' to the title of this pull request and request another refresh with /jira refresh.

Details

In response to this:

Bumping cloud-provider-aws are crashing, focusing in the change for now to be able to validate with cluster-bot.

this PR is created to be used with cluster-bot:

Ref: openshift/cloud-provider-aws#117

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@mtulio
Copy link
Copy Markdown
Contributor Author

mtulio commented Sep 17, 2025

/payload-job ?

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Sep 17, 2025

@mtulio: it appears that you have attempted to use some version of the payload command, but your comment was incorrectly formatted and cannot be acted upon. See the docs for usage info.

@mtulio
Copy link
Copy Markdown
Contributor Author

mtulio commented Sep 17, 2025

/testwith openshift/cluster-cloud-controller-manager-operator/main/e2e-aws-ovn openshift/origin#30235 openshift/cloud-provider-aws#117

@deepsm007
Copy link
Copy Markdown

/testwith openshift/cluster-cloud-controller-manager-operator/main/e2e-aws-ovn openshift/cloud-provider-aws#117

@openshift-ci openshift-ci bot assigned damdo and nrb Nov 12, 2025
@damdo
Copy link
Copy Markdown
Member

damdo commented Nov 12, 2025

/assign @theobarberbany

@mtulio
Copy link
Copy Markdown
Contributor Author

mtulio commented Nov 13, 2025

Removing the hold as this PR is already ready.

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 13, 2025
}
if isFeatureGateEnabled(features, "AWSServiceLBNetworkSecurityGroup") {
if cfg.Global.NLBSecurityGroupMode != awsconfig.NLBSecurityGroupModeManaged {
// OpenShift enforces to CCM manage security group by default when deploying
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we clarify this a little please? By default OCP has the CCM manage security groups upon deployment?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @theobarberbany . No, by default CCM-AWS does not attach SGs to Service type-loadBalancer NLB, only CLB (default lb type). To configure CCM to managed SG for NLB we need to enable that configuration. I will update the comment.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah thanks! Makes more sense to me now :)

Copy link
Copy Markdown
Contributor

@theobarberbany theobarberbany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one non blocking nit with a comment's wording, otherwise

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 14, 2025
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Nov 14, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: theobarberbany

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 14, 2025
@theobarberbany
Copy link
Copy Markdown
Contributor

/hold

in case you want to fix the nit

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 14, 2025
Enforce CCM to manage Security Group by default for
security compliance and best practices on Service type-loadBalancer
when using Network Load Balancer (NLB).

Fixes INI files with sections sorted co-authored by Claude.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Marco Braga <mrbraga@redhat.com>
@openshift-ci-robot openshift-ci-robot removed the verified Signifies that the PR passed pre-merge verification criteria label Nov 14, 2025
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Nov 14, 2025
@mtulio
Copy link
Copy Markdown
Contributor Author

mtulio commented Nov 14, 2025

/hold

in case you want to fix the nit

Hey @theobarberbany , good suggestion. Fixed!

@mtulio
Copy link
Copy Markdown
Contributor Author

mtulio commented Nov 14, 2025

Already verified, label removed after updating code comment.

/verified by @huali9 on comment #391 (comment)

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Nov 14, 2025
@openshift-ci-robot
Copy link
Copy Markdown

@mtulio: This PR has been marked as verified by @huali9 on comment https://github.com/openshift/cluster-cloud-controller-manager-operator/pull/391#issuecomment-3521016062.

Details

In response to this:

Already verified, label removed after updating code comment.

/verified by @huali9 on comment #391 (comment)

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@vr4manta
Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 14, 2025
@mtulio
Copy link
Copy Markdown
Contributor Author

mtulio commented Nov 14, 2025

/retest-required

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Nov 14, 2025

@mtulio: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/regression-clusterinfra-vsphere-ipi-ccm 259a2dd link false /test regression-clusterinfra-vsphere-ipi-ccm

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@mtulio
Copy link
Copy Markdown
Contributor Author

mtulio commented Nov 15, 2025

/hold

in case you want to fix the nit

Nit/comment fixed,
Thanks! Dropping the hold label.

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 15, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit 6148c0c into openshift:main Nov 15, 2025
13 of 14 checks passed
@mtulio mtulio deleted the SPLAT-2253 branch November 16, 2025 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants